package com.yunhoo.contract.db.impl;

import com.yunhoo.contract.model.ContractStats;
import com.yunhoo.sys.db.util.IbatisTemplate;
import com.yunhoo.sys.util.common.LoginParam;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ContractStatsImpl {

    private static final String NAMESPACE = "contractStats.";

    public static List<ContractStats> queryStatsList(Map map) {
        if (map == null) map = new HashMap();
        map.put("orgCode", LoginParam.getOrg().getCode());
        map.put("iyear", LoginParam.getIyear());
        return IbatisTemplate.queryForList(NAMESPACE + "queryStatsList", map);
    }
}
